package com.ruoyi.drug.mapper;


import com.ruoyi.drug.domain.DrugPhysic;

import java.util.List;

public interface DrugPhysicMapper {
    /**
     * 查询药品信息列表
     *
     * @param drugPhysic 药品信息
     * @return 药品集合
     */
    public List<DrugPhysic> selectPhysicList(DrugPhysic drugPhysic);

    /**
     * 查询药品信息
     * @param physicId
     * @return 药品信息
     */
    DrugPhysic selectPhysicById(Long physicId);

    /**
     * 修改药品信息
     *
     * @param drugPhysic
     * @return 结果
     */
    int updatePhysic(DrugPhysic drugPhysic);

    /**
     * 删除药品信息
     *
     * @param physicId
     * @return
     */
    int deletePhysicById(Long physicId);

    /**
     * 批量删除药品
     *
     * @param physicIds
     * @return
     */
    int deletePhysicByIds(Long[] physicIds);

    int addPhysic(DrugPhysic drugPhysic);
}
